home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Games of Daze
/
Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso
/
x2ftp
/
msdos
/
libs
/
mtgrap1c
/
palette.h
< prev
next >
Wrap
C/C++ Source or Header
|
1994-07-29
|
1KB
|
40 lines
/*****************************************************
; Filename : palette.h
;
; Date : 11-6-94
; Mod. Date : 29-7-94
;
; Others : Obtained from Ferraro
; : VGA Trainer (smith9@batis.bis.und.ac.za)
; ; VGL20 (morley@camosun.bc.ca)
;****************************************************/
#ifndef PALETTE_H
#define PALETTE_H
#ifdef __cplusplus
extern "C" {
#endif
#include "std_defs.h"
//from palasm.asm
void mtSetCol(byte ColorIndex, byte red, byte green , byte blue);
void mtGetCol(byte ColorIndex, byte *red, byte *green, byte *blue);
void mtSetPal(byte pal[], byte start, byte end);
void mtBlackOut(void);
void mtWhiten(void);
void mtGetAllPal(byte pal[]);
void mtSingleFade(byte pal[]);
int mtLoadPal(char *filename, byte palette[]);
int mtSavePal(char *filename, byte palette[]);
void mtClearPal(byte palette[]);
void mtFadeOut(int interval);
void mtFadeIn(byte palette[], byte inc, int interval);
#ifdef __cplusplus
}
#endif
#endif PALETTE_H